

export interface ISysTaskV2{
	ID?: string | null;
	Name: string | null;
	ClassName: string | null;
	Description: string | null;
	TaskType: '单次任务' | '周期任务' | '定时任务';
	StartTime: Date | null;
	EndTime: Date | null;
	Repeat: number | null;
	IsForever: boolean | null;
	IntervalInSeconds: number | null;
	DelaySeconds: number | null;
	LastRunTime: number | null;
	Cron: string | null;
	LastRunResult?: '初始化' | '失败' | '成功' | null;
	IsEnable: boolean;
	IsRun: boolean;
	CreateTime: Date;
	UpdateTime: Date;
}

export interface ISysTaskV2Vm{
	Entity: ISysTaskV2;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;

}

export interface ISysTaskV2View extends ISysTaskV2{

}

export interface ISysTaskV2Query{
	Name?: string | null;
	ClassName?: string | null;
	Description?: string | null;
	TaskType?: number | null;
	StartTime?: Date | null;
	EndTime?: Date | null;
	Repeat?: number | null;
	IsForever?: boolean | null;
	IntervalInSeconds?: number | null;
	DelaySeconds?: number | null;
	LastRunTime?: number | null;
	Cron?: string | null;
	LastRunResult?: number | null;
	IsEnable?: boolean | null;
	IsRun?: boolean | null;
	CreateTime?: Date | null;
	UpdateTime?: Date | null;
}